package com.company.structural.braidge_pattern.abstraction;

import com.company.structural.braidge_pattern.implementor.ImageImp;

/**
 * @ClassName Image
 * @Author tiezheng.han
 * @Date 2020/8/31 11:53
 **/
public abstract class Image {
    protected ImageImp imp;

    /**
     * 注入实现类接口对象
     * @param imp
     */
    public void setImp(ImageImp imp) {
        this.imp = imp;
    }

    public abstract void parseFile(String fileName);
}
